package com.widget;

import android.content.Context;
import android.util.AttributeSet;
import android.util.Log;
import android.view.MotionEvent;
import android.widget.EditText;

/**
 * Created by Administrator on 2018/3/19 0019.
 */

public class FontEditText extends EditText {

    public static final String TAG = FontEditText.class.getSimpleName();

    public FontEditText(Context context) {
        super(context);
    }

    public FontEditText(Context context, AttributeSet attrs) {
        super(context, attrs);
    }

    public FontEditText(Context context, AttributeSet attrs, int defStyleAttr) {
        super(context, attrs, defStyleAttr);
    }


    @Override
    public boolean onTouchEvent(MotionEvent event) {

        Log.i(TAG, event.getX()+"==========="+event.getY());
        return super.onTouchEvent(event);
    }
}
